<%-- 
    Document   : porrajava
    Created on : 21/10/2011, 19:34:56
    Author     : guilherme
--%>

<html>
    <head>
        <title>Blog</title>
    </head>
    <body>
        <%  String action = request.getParameter("action");
        if (request.getParameterNames().hasMoreElements() ) { %>
           <% 
             if (action.equals("Cadastrar") ||
                action.equals("Excluir") ||
                   action.equals("Alterar") )         { %>
            <%//@include file="WEB-INF/jspf/IncluirUsuario.jspf"%>
            <jsp:include page="WEB-INF/jspf/IncluirUsuario.jspf"/>
            
            <% } else if (action.equals("Cadastro")) { %>
                    <%//@include file="WEB-INF/jsp/IncluirUsuario.jspf"%>
                    <jsp:include page="WEB-INF/jspf/ResultadoUsuario.jspf"/>
                    <% }  %>
        
        
       <%  } else { %>
       
       
       <%//@include file="WEB-INF/jspf/MostraMenu.jspf" %>
       <jsp:include page="WEB-INF/jspf/MostraMenu.jspf" />
       
       <% } %>
       
       
    </body>
</html>
